package com.ruoyi.tianliangedu.mapper;

import com.ruoyi.tianliangedu.domain.TianliangSonSection;

import java.util.List;

/**
 * 子类章节Mapper接口
 *
 * @author lsj
 * @date 2021-07-12
 */
public interface TianliangSonSectionMapper {
    /**
     * 查询子类章节
     *
     * @param sonSectionId 子类章节ID
     * @return 子类章节
     */
    public TianliangSonSection selectTianliangSonSectionById(Long sonSectionId);

    /**
     * 查询子类章节列表
     *
     * @param tianliangSonSection 子类章节
     * @return 子类章节集合
     */
    public List<TianliangSonSection> selectTianliangSonSectionList(TianliangSonSection tianliangSonSection);

    /**
     * 新增子类章节
     *
     * @param tianliangSonSection 子类章节
     * @return 结果
     */
    public int insertTianliangSonSection(TianliangSonSection tianliangSonSection);

    /**
     * 修改子类章节
     *
     * @param tianliangSonSection 子类章节
     * @return 结果
     */
    public int updateTianliangSonSection(TianliangSonSection tianliangSonSection);

    /**
     * 删除子类章节
     *
     * @param sonSectionId 子类章节ID
     * @return 结果
     */
    public int deleteTianliangSonSectionById(Long sonSectionId);

    /**
     * 批量删除子类章节
     *
     * @param sonSectionIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteTianliangSonSectionByIds(String[] sonSectionIds);
}
